<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
    integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
  <title>Document</title>
  <!--[if lt IE 9]>
      <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
      <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->
  <style>
    .container {
      border: 1px solid red;
    }

    [class^="col"] {
      background-color: pink;
    }

    .row .col-lg-6{
      border: 1px solid red;
    }
  </style>
</head>

<body>
  <div class="container">
    <div class="row">
      <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">1</div>
      <div class="col-lg-3 col-md-4 col-sm-6  col-xs-12">2</div>
      <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">3</div>
      <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">4</div>
    </div>

    <!-- 列偏移 -->
    <div class="row">
        <div class="col-lg-4">左侧</div>
        <div class="col-lg-4 col-lg-offset-4">右侧</div>
    </div>

    <!-- 列排序 pull往左 Push往右-->
    <div class="row">
        <div class="col-lg-4 col-lg-push-8">左侧</div>
        <div class="col-lg-4 col-lg-pull-4">右侧</div>
    </div>

    <!-- 列嵌套 -->
    <div class="row">
      <div class="col-lg-5">
        <div class="row">
          <div class="col-lg-6">11</div>
          <div class="col-lg-6">22</div>
        </div>
      </div>
      <div class="col-lg-5 col-lg-push-2" >
        <div class="row">
          <div class="col-lg-6">11</div>
          <div class="col-lg-6">22</div>
        </div>
      </div>
    </div>

    <!-- 响应式工具 -->
    <div class="row">
      <div class="col-xs-3 hidden-sm">1</div>
      <div class="col-xs-3">2</div>
      <div class="col-xs-3">3</div>
      <div class="col-xs-3">4</div>
    </div>
  </div>

</body>

</html>